<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div data-toggle="cxselect" data-selects="storelist,roomlist">
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Store_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <select name="row[store_id]" id="c-store_id" data-rule="required"
                        class="form-control storelist" data-url="zzyy/store/ajaxgetstore"></select>
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Room_id')}:</label>
            <div class="col-xs-12 col-sm-8">
                <select name="row[room_id]" id="c-room_id" data-rule="required"
                        class="form-control roomlist" data-url="zzyy/room/ajaxgetroom"
                        data-query-name="store_id"></select>
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Roomclose_starttime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-roomclose_starttime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[roomclose_starttime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Roomclose_endtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-roomclose_endtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[roomclose_endtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
